package com.decade.service;

import com.decade.pojo.Goods;

import java.util.List;

public interface GoodsService {
    //查询
    public List<Goods> findGoods(Goods goods);
    //根据id查询
    public Goods findGoodsById(Integer id);
    //添加
    public Integer addGoods(Goods goods);
    //修改
    public Integer updateGoods(Goods goods);
    //删除
    public Integer delGoods(Integer id);
}
